﻿using PowerHub.MES.DTO.BasicData.DTO;
using PowerHub.MES.DTO.BasicData.QueryDto;
using PowerHub.MES.Entities.BasicData;
using PowerHub.MES.ReturnEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.IRepository.IBasic
{
    /// <summary>
    /// 角色菜单数据接口层
    /// </summary>
    public interface IBasicData_Roleinfo_MenuInfoRepository
    {
        /// <summary>
        /// 根据用户ID获取角色菜单列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<List<string>> GetBasicData_Roleinfo_MenuInfoPageListAsync(QueryBasicData_Roleinfo_MenuInfoDTO query);

        /// <summary>
        /// 添加角色菜单
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> CreateBasicData_Roleinfo_MenuInfoAsync(List<BasicData_Roleinfo_MenuInfo> createMenuInfos, List<BasicData_Roleinfo_MenuInfo> deleteMenuInfos, string roleinfoId);



    }
}
